package com.mzz.springbootstart.controller;

import java.time.LocalDateTime;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Hello 控制层
 *
 * @author xushijian
 */
@RestController
public class HelloController {

    @RequestMapping(value = {"/Hello", "/hi"}, method = RequestMethod.GET)
    public String say() {
        return "Hello" + LocalDateTime.now();
    }

}